#ifndef QNMOPTIONS_H
#define QNMOPTIONS_H

#include <QObject>

#include "optionsifaces.h"
#include "qnmsettings.h"

class QNMOptions : public QObject
{
    Q_OBJECT

    OptionsIfaces *myOptIfaces;
    QNMSettings *qset_this;
    QObject *parent;

    QStringList listFormatDT;

public:
    explicit QNMOptions( QNMSettings * qset, QObject *_parent = 0 );
    ~QNMOptions();
    
signals:
    
public slots:
    Q_INVOKABLE void initSettings();
    Q_INVOKABLE void changeFormatDT(const int indx_changed);
    Q_INVOKABLE void changeLanguage( const int indx_changed );
    Q_INVOKABLE void changeTheme( const QString &theme );
    Q_INVOKABLE void changeOrientation( const QString &orientation );

    Q_INVOKABLE void initOptionsIfaces();
    //Q_INVOKABLE void addIface( QString &iface );
    //Q_INVOKABLE void removeIface( QString &iface );

};

#endif // QNMOPTIONS_H
